<?php
	$id = 1;

?>
<html>
    <head>
        <meta charset="utf-8" />
        <title>My jQuery Ajax test</title>
        <style type="text/css">
            #mybox {
                width: 300px;
                height: 250px;
                border: 1px solid #999;
            }
        </style>
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
        <script src="../controladores/javascripts/dynamicContentFunctions.js">  </script>
    </head>
    <body>
        The following div will be updated after the call:<br />
        <div id="mybox">
             
        </div>
        <input type="button" value="Update" onclick="myCall(<?php echo $id;?>)" />
 
    </body>
</html>
<?php

	//echo $_POST["textarea"];
/*	include_once "../config.inc.php";

	echo $_POST['textarea'];
	
	$x = pg_connect("host=".W." port=".V." dbname=".Z." user=".Y." password=".X) or die ("Falló la conexion");
	
	$text = utf8_encode($_POST['textarea']);
	
	pg_query($x,"INSERT INTO TEST(TEXT) VALUES('".$text."')") or die("Error relizando inserción");
	
	// This function, for insert into db.
	$text = utf8_encode($_POST['textarea']);
	//This function, for parse the html from the db
	echo utf8_decode($text);		*/
?>